package com.lzy.mall.order.service.impl;

import com.lzy.mall.order.entity.OmsPaymentInfo;
import com.lzy.mall.order.dao.OmsPaymentInfoDao;
import com.lzy.mall.order.service.OmsPaymentInfoService;
import org.springframework.stereotype.Service;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * 支付信息表(OmsPaymentInfo)表服务实现类
 *
 * @author lzy
 * @since 2021-08-25 11:22:45
 */
@Service
@RequiredArgsConstructor(onConstructor_ = {@Autowired})
public class OmsPaymentInfoServiceImpl implements OmsPaymentInfoService {
    private final OmsPaymentInfoDao omsPaymentInfoDao;

    @Override
    public void save(OmsPaymentInfo infoEntity) {
        omsPaymentInfoDao.insertTemplate(infoEntity,true);
    }
}
